package org.zcl.引用;

/**
 * @PROJECT_NAME: bfd-cms
 * @DESCRIPTION:
 * @USER: ZhuChengLin
 * @DATE: 2021/11/12 9:51
 */
public class ObjectQuote {
    public static void main(String[] args) {
        User rabbiter = new User();
        rabbiter.setName("rabbiter");
        func(rabbiter);
        System.out.println(rabbiter.getName());
    }

    static void func(User user){
        user = new User();
        user.setName("zhangsan");
    }
}
